package com.toman.JavaBean;


import java.io.Serializable;
import java.util.Date;

/**
 * 派工单表与工序信息对应表
 * 
 * @author toman
 * @email sunlightcs@gmail.com
 * @date 2018-08-06 17:22:01
 */

public class SendworkOrderMappingEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	private Long id;

	private Long sendworkId;

	/**
	 * 工序ID,与devicehouse_operationorder id对应
	 */
	private Long orderId;

    public String getBeltlineName() {
        return beltlineName;
    }

    public void setBeltlineName(String beltlineName) {
        this.beltlineName = beltlineName;
    }

	/**
	 * 产线ID
	 */

    private String beltlineName;
	private Long beltlineId;
	/**
	 * 数量
	 */
	private Long workCount;
	/**
	 * 创建时间
	 */
	private String createTime;
	/**
	 * 创建用户ID
	 */
	private Long createUserId;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getSendworkId() {
		return sendworkId;
	}

	public void setSendworkId(Long sendworkId) {
		this.sendworkId = sendworkId;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public Long getBeltlineId() {
		return beltlineId;
	}

	public void setBeltlineId(Long beltlineId) {
		this.beltlineId = beltlineId;
	}

	public Long getWorkCount() {
		return workCount;
	}

	public void setWorkCount(Long workCount) {
		this.workCount = workCount;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getUpdateUserId() {
		return updateUserId;
	}

	public void setUpdateUserId(Long updateUserId) {
		this.updateUserId = updateUserId;
	}

	public String getReceiveStatus() {
		return receiveStatus;
	}

	public void setReceiveStatus(String receiveStatus) {
		this.receiveStatus = receiveStatus;
	}

	public Date getReceiveDate() {
		return receiveDate;
	}

	public void setReceiveDate(Date receiveDate) {
		this.receiveDate = receiveDate;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getCompleteDate() {
		return completeDate;
	}

	public void setCompleteDate(String completeDate) {
		this.completeDate = completeDate;
	}

	public String getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}

	public boolean isChild() {
		return isChild;
	}

	public void setChild(boolean child) {
		isChild = child;
	}

	public ArleadyReceiveSendworkOrderCount getArleadyReceiveSendworkOrderCount() {
		return arleadyReceiveSendworkOrderCount;
	}

	public void setArleadyReceiveSendworkOrderCount(ArleadyReceiveSendworkOrderCount arleadyReceiveSendworkOrderCount) {
		this.arleadyReceiveSendworkOrderCount = arleadyReceiveSendworkOrderCount;
	}

	public Long getReceiveUserId() {
		return receiveUserId;
	}

	public void setReceiveUserId(Long receiveUserId) {
		this.receiveUserId = receiveUserId;
	}

	public Integer getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public OperationorderEntity getOperationorderEntity() {
		return operationorderEntity;
	}

	public void setOperationorderEntity(OperationorderEntity operationorderEntity) {
		this.operationorderEntity = operationorderEntity;
	}

	/**更新时间*/
	private Date updateTime;
	/**更新用户ID*/
	private Long updateUserId;

	/**派工单状态,0未领取，1已领取*/
	private String  receiveStatus;
	/**派工单领取时间*/
	private Date receiveDate;
	/**开工时间*/
	private String startDate;
	/**完工日期,也就是量产上报时间*/
	private String completeDate;
	/**0表示正常状态,1表示暂停状态,2表示结束状态 这个状态与派工单表中状态同步,增加此字段为了业务查询*/
	private String orderStatus;

	/**是否是子元素，修改时界面展示使用*/
	private boolean isChild;

	private ArleadyReceiveSendworkOrderCount arleadyReceiveSendworkOrderCount;

	/**接收用户ID*/
	private Long receiveUserId;

	private Integer deleteFlag;

	private OperationorderEntity operationorderEntity;

    public boolean getIsChild() {
        return isChild;
    }

    public void setIsChild(boolean child) {
        isChild = child;
    }
}
